<template>
  <j-modal
    :title="title"
    :width="1000"
    :visible="visible"
    :maskClosable="false"
    switchFullscreen
    @ok="handleOk"
    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
    @cancel="handleCancel">
    <pm-destination-files-Detail ref="hfPmDestinationFilesDetail" :multiple="this.multiple" :mainId="this.mainId"/>
  </j-modal>
</template>

<script>

  import PmDestinationFilesDetail from '@views/hifar/pm/PmDestinationFilesDetail'
  export default {
    name: 'PmDestinationFilesModalDetail',
    components: {
      PmDestinationFilesDetail
    },
    props: {
      multiple:{
        type: Boolean,
        default: false
      },
      mainId: {
        type: String,
        default: '',
        required: false
      }
    },
    data () {
      return {
        title:'',
        width:800,
        visible: false,
        disableSubmit: false
      }
    },
    methods: {
      close () {
        this.$emit('close');
        this.visible = false;
      },
      handleCancel () {
        this.close()
      }
    }
  }
</script>

<style scoped>

</style>